<!--新闻列表页-->
<!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8">
		<meta name="viewport"   content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no">
		<title></title>
		<script src="/html/js/rem.js"></script>
		<link rel="stylesheet" type="text/css" href="/html/css/style.css">
		<script src="/html/js/jquery-3.4.1.min.js"></script>
	</head>
	<body>
		<div class="headers">
			<span onclick="window.history.back(); ">←</span>
			<p>{$title}</p>
			<span class="user"><img src="/html/img/user.png"/></span>
		</div>
		<div class="newMain">
			<ul>
				<foreach name="list" id="vo">
				<li class="detail" data-id="{$vo.post_id}">
					<p>{$vo.post.post_title}</p>
					<span>{$vo.post.published_time|date='Y/m/d H:i'}</span>
				</li>
					</foreach>

			</ul>
		</div>
	</body>
<script>
	$('.detail').off("click").on("click",function(e){
		var id = $(this)[0].dataset.id
		window.location.href = '/mobile/index/detail?id='+id
	})
</script>
</html>
